var ItemModel = function() {
    var self = this;

    // Encapsulating the entire form in a property, so we can use ko.mapping in a safe way.
    // If properties were directly on the model, we'd have to re-init model every time we
    // load data, which could lead to unwanted consequences.
    self.title = ko.observable("");
    self.users = ko.observableArray([]);
    self.pagination = ko.observable("");

    self.loadItem = function(users, pagination, title, success) {
        self.users(users);
        self.pagination(pagination);
        self.title(title);
        success();
    }

}


